package cn.jhg.account.persist;

import java.io.Serializable;
import java.sql.Timestamp;

public class Account implements Serializable {
	private int id;
	private String name;
	private String password;
	private String email;
	private String telephone;
	private Timestamp pwdValidDate;
	private int status;
	private String account;
	// private String auth;
	// private String locked;
	// private String valid;

	// public String getAuth() {
	// return auth;
	// }
	//
	// public String getLocked() {
	// return locked;
	// }
	//
	// public void setLocked(String locked) {
	// this.locked = locked;
	// }
	//
	// public String getValid() {
	// return valid;
	// }
	//
	// public void setValid(String valid) {
	// this.valid = valid;
	// }

	// public void setAuth(String auth) {
	// this.auth = auth;
	// }

	// @Override
	// public String toString() {
	// return "User [id=" + id + ", name=" + name + ", password=" + password +
	// ", email=" + email + ", telephone="
	// + telephone + ", pwdValidDate=" + pwdValidDate + ", status=" + status +
	// ", account=" + account
	// + ", auth=" + auth + ", locked=" + locked + ", valid=" + valid + "]";
	// }

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public Timestamp getPwdValidDate() {
		return pwdValidDate;
	}

	public void setPwdValidDate(Timestamp pwdValidDate) {
		this.pwdValidDate = pwdValidDate;
	}

	@Override
	public String toString() {
		return "Account [id=" + id + ", name=" + name + ", password=" + password + ", email=" + email + ", telephone=" + telephone
				+ ", pwdValidDate=" + pwdValidDate + ", status=" + status + ", account=" + account + "]";
	}
	
	

}
